
typedef struct
{
	float r,g,b;
} ColorRGB;

typedef struct
{
	float r,g,b,a;
} ColorRGBA;

void colorRGBInit(ColorRGB *color);
void colorRGBAInitRandom(ColorRGBA *color);

void colorRGBASetComponent(ColorRGBA *color,int componentNum,float value);

ColorRGB ColorRGBMake(float r,float g,float b);
ColorRGBA ColorRGBAMake(float r,float g,float b,float a);

